package it.polimi.swKnights.SWIMv2.ejb.authentication;

import it.polimi.swKnights.SWIMv2.ejb.entityBeans.RegisteredUser;
import it.polimi.swKnights.SWIMv2.ejb.exceptions.LoginFailException;

import javax.ejb.Remote;

@Remote
public interface LoginHandlerRemote
{
	void checkLoginData(String userName, String password)
			throws LoginFailException;
	boolean hasPrivileges(String userName, Class<? extends RegisteredUser> clazz);
}
